
<a data-toggle="collapse" data-target="#visits" href="#visits">
	{{label_visits}} </a>
<div id="visits" class="collapse in">
	<table class="table table-condensed">
		<tbody>
			{{#visits}}
			<tr>
				<td><strong>{{name}}</strong>&nbsp;{{#country}}({{country}}){{/country}}
					<address>
						{{street}}, {{number}}<br> {{district}}<br> {{city}}<br>
					</address>
					<a class="edit" href="#visit{{id}}"> 
						<i class="icon-edit"></i>
					</a> 
					<a class="remove" href="#visit{{id}}"> 
						<i class="icon-remove"></i>
					</a>
				</td>
			</tr>
			{{/visits}} {{^visits}}
			<tr>
				<td>{{message_no_visits}}</td>
			</tr>
			{{/visits}}
		</tbody>
	</table>
</div>

<a data-toggle="collapse" data-target="#indications" href="#indications">
	{{label_indications}} </a>
<div id="indications" class="collapse in">
	<table class="table table-condensed">
		<tbody>
			{{#indications}}
			<tr>
				<td><strong>{{name}}</strong>&nbsp;{{#country}}({{country}}){{/country}}
					<address>
						{{street}}, {{number}}<br> {{district}}<br> {{city}}<br>
					</address>
					<a class="edit" href="#indication{{id}}">
						<i class="icon-edit"></i>
					</a>
					<a class="remove" href="#indication{{id}}">
						<i class="icon-remove"></i>
					 </a>
				</td>
			</tr>
			{{/indications}} {{^indications}}
			<tr>
				<td>{{message_no_indications}}</td>
			</tr>
			{{/indications}}
		</tbody>
	</table>
</div>
<script type="text/javascript">
	require([ 'jquery', 'app' ], function($, a) {
		$('a.edit', 'div#visits').click(function(e) {
		})
		$('a.remove', 'div#visits').click(function(e) {
		})

		$('a.edit', 'div#indications').click(function(e) {
		})
		$('a.remove', 'div#indications').click(function(e) {
		})

	});
</script>